package com.haha.Configs;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
//@PropertySource(value = "classpath:someting.properties") //加载指定的配置文件
public class MyOther {
//    @Value("${name}")
    private String name;
//    @Value("${keywords}")
//    private String keywords;
}
